TARGET = e-tahta
TEMPLATE = app
CONFIG += c++11

LIBS += -L/usr/local/lib -lpoppler-qt5
INCLUDEPATH += ./usr/local/include


QMAKE_CXXFLAGS = -std=c++11
QT += widgets gui printsupport xml
QT += network


SOURCES += \
    mainwindow.cpp \
    main.cpp \
    gridlines.cpp \
    scene.cpp \
    dotsignal.cpp \
    verectangle.cpp \
    depo.cpp \
    singleinstance.cpp

HEADERS += \
    mainwindow.h \
    gridlines.h \
    diagramitem.h \
    scene.h \
    dotsignal.h \
    verectangle.h \
    function.h \
    buttonclick.h \
    popmenu.h \
    kalemlayout.h \
    filecrud.h \
    depo.h \
    singleinstance.h

RESOURCES += \
    userdrawing.qrc

target.path = /usr/bin

desktop_file.files = e-tahta.desktop
desktop_file.path = /usr/share/applications/
icon.files = icons/e-tahta.png
icon.path = /usr/share/e-tahta



config_file.files = e-tahta.ini
config_file.path = /tmp/

INSTALLS += target desktop_file icon config_file

DISTFILES += \
    icons/e-tahta.png \
    e-tahta.ini
#\
#    libopencv_core.so.3.4 \
#    libopencv_highgui.so.3.4 \
 #   libopencv_imgproc.so.3.4 \
  #  libopencv_imgcodecs.so.3.4

